import Vue from 'vue'
import Vuex from 'vuex'

Vue.use(Vuex)

const state={
	cityName:'杭州'
}
const mutations={
	commitCity(state,itemName){
		state.cityName =itemName
	}
}
export default new Vuex.Store({
	state,
	mutations
})